* lisp/files.el (locate-dominating-file): Allow `name' to be a predicate.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 4 Jul 2012 15:59:12 +0000 (11:59 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 4 Jul 2012 15:59:12 +0000 (11:59 -0400)
commitd6202360090b191ded45a4321aefae53e8d1319c
tree8f891166dea84cccdf7b0e46edd0c9f1a1e0b5e5
parent120ffab5a7c7c6f6f99d27baccf528564d0f85e1
* lisp/files.el (locate-dominating-file): Allow `name' to be a predicate.
(find-file--read-only): New function.
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Use it.
(insert-file-contents-literally): Don't `fset'.
(get-free-disk-space): Use locate-dominating-file.
lisp/ChangeLog
lisp/files.el